home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / prolog / sbprolog / sbp.zoo / sbp_v3.1 / auxil / ar.h < prev    next >
C/C++ Source or Header  |  1992-02-16  |  800b  |  27 lines

  1. /*$Source: /usr/home/dhesi/booz/RCS/ar.h,v $*/
  2. /*$Id: ar.h,v 1.3 91/07/08 11:07:02 dhesi Exp $*/
  3. /***********************************************************
  4.     ar.h
  5. ***********************************************************/
  6.  
  7. #include <stdio.h>
  8. /*
  9. typedef unsigned char uchar;*/    /* 8 bits or more */
  10. typedef unsigned int   uint;    /* 16 bits or more */
  11. typedef unsigned short ushort;  /* 16 bits or more */
  12. typedef unsigned long  ulong;   /* 32 bits or more */
  13.  
  14. /* T_UINT16 must be #defined in options.h to be 
  15. a 16-bit unsigned integer type */
  16.  
  17. #ifndef T_UINT16
  18. # include "T_UINT16 not defined"
  19. #endif
  20.  
  21. typedef T_UINT16          t_uint16;    /* exactly 16 bits */
  22. uint decode_c();
  23. uint decode_p();
  24. uint getbits();
  25. #define DICBIT    13    /* 12(-lh4-) or 13(-lh5-) */
  26. #define DICSIZ ((unsigned) 1 << DICBIT)
  27.